<div class="layui-inline worktimeitem"  style="margin: 0;width: 810px;">
	<div class="layui-input-inline" style="width: 97px;margin-right: 0;" >
		<select name="datetype">
			<#if workDateList??>
   				<option value="">日期类型</option>
      			<#list workDateList as work>
      				<option value="${work.id}">${work.name!''}</option>
      			</#list>
      		</#if>
		</select>
	</div>
    <div class="layui-input-inline" style="width: 113px;">
       	<select id="wh_worktype" lay-filter="worktype" name="worktype">
   			<option value="work">工作时间</option>
   			<option value="nowork">非工作时间</option>
		</select>
    </div>
          :
	<div class="layui-inline work" style="margin-right:0;">
		<div class="layui-input-inline" style="width: 60px;margin-right: 0;margin-left: 0;">
			<select id="wh_start_h" name="beginhours">
				<#list 0..23 as hours>
				<option value="${hours?string('00')}" <#if hours == 8>selected="selected"</#if>>${hours?string('00')}</option>
				</#list>
			</select>
		</div>
	</div>
	:
	<div class="layui-inline work" style="margin-right:0;">
		<div class="layui-input-inline" style="width: 60px;margin-right: 0;margin-left: 0;" >
			<select id="wh_start_m" name="beginmins">
				<#list 0..59 as min>
				<option value="${min?string('00')}" <#if min == 30>selected="selected"</#if>>${min?string('00')}</option>
				</#list>
			</select>
		</div>
	</div>
	~
	<div class="layui-inline work" style="margin-right:0;">
		<div class="layui-input-inline" style="width: 60px;margin-right: 0;margin-left: 0;">
			<select id="wh_end_h" name="endhours">
				<#list 0..23 as hours>
				<option value="${hours?string('00')}" <#if hours == 11>selected="selected"</#if>>${hours?string('00')}</option>
				</#list>
			</select>
		</div>
	</div>
	:
	<div class="layui-inline work" style="margin-right:0;">
		<div class="layui-input-inline" style="width: 60px;margin-right: 0;margin-left: 0;">
			<select id="wh_end_m" name="endmins">
				<#list 0..59 as min>
				<option value="${min?string('00')}" <#if min == 30>selected="selected"</#if>>${min?string('00')}</option>
				</#list>
			</select>
		</div>
	</div>
	<div class="layui-inline nowork" style="margin-right:0;display: none;">
		<div class="layui-input-inline" style="width: 110px;margin-right: 0;margin-left: 0;" >
			<select id="nowork_action" name="action" lay-filter="noworkaction" >
      			<option value="hangup">挂断</option>
      			<option value="trans">转接(号码)</option>
      			<option value="voice">语音播报</option>
			</select>
		</div>
	</div>
	<div class="layui-inline noworknum" style="margin-right:0;display: none;">
		<div class="layui-input-inline" style="width: 100px;margin-right: 0;" >
			<input type="text" name="num"  placeholder="转接号码" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-inline noworkmedia" style="margin-right:0;display: none;">
		<div class="layui-input-inline" style="width: 100px;margin-right: 0;" >
			<select id="nowork_voice" name="voice">
				<option value="" >语音播报</option>
      			<#if mediaList?? && mediaList?size gt 0>
				<#list mediaList as media>
				<option value="${media.id!''}" >${media.name!''}</option>
				</#list>
				</#if>
			</select>
		</div>
	</div>
	<div class="layui-inline">
		<div class="layui-input-inline" id="worktimedelete" style="width: 45px;margin-right:0;">
			<button class="layui-btn layui-btn-danger" onclick="removeItem(this);" style="width: 40px;padding: 0;" type="button" ><i class="layui-icon">&#xe640;</i></button>
		</div>
	</div>
</div>